class Category {
  List<String>? tags;

  Category({
    this.tags,
  });

  Category.fromJson(Map<String, dynamic> data) {
    if (data['tags'] != null) {
      tags = (data['tags'] as List).map<String>((e) => e.toString()).toList();
    }
  }

  Map<String, dynamic> toJson() {
    return {
      'tags': tags,
    };
  }
}
